/*
 ===============================================================================
 Name        : main.cpp
 Author      : $(user)
 Version     : 1.0.0
 Date		 : $(date)
 Copyright   :
 License	 : CC BY-SA 3.0
 Description :
 ===============================================================================
  	 	 	 	 	 	 	 	 History
 ---------+---------+--------------------------------------------+-------------
 DATE     |	VERSION |	DESCRIPTIONS							 |	By
 ---------+---------+--------------------------------------------+-------------

 ===============================================================================
 */
#include "driver_config.h"
#ifdef __USE_CMSIS
#include "LPC11xx.h"
#endif

#include <cr_section_macros.h>
#include <NXP/crp.h>

// Variable to store CRP value in. Will be placed automatically
// by the linker when "Enable Code Read Protect" selected.
// See crp.h header for more information
__CRP const unsigned int CRP_WORD = CRP_NO_CRP ;

// TODO: insert other include files here

// TODO: insert other definitions and declarations here

int main(void) {
	
	// TODO: insert code here

	// Enter an infinite loop, just incrementing a counter
	volatile static int i = 0 ;
	while(1) {
		i++ ;
	}
	return 0 ;
}

//
// FreeRTOS Hook Functions
//
void vApplicationIdleHook() {
	// TODO: FreeRTOS Idle Hook
}

void vApplicationTickHook() {
	// TODO: FreeRTOS Tick Hook
}

void vApplicationMallocFailedHook() {
	// TODO: Faile malloc Hook
}
